﻿@namespace BlazorStrap.V4
@inherits BlazorStrap.Shared.Components.Forms.BSLabelBase<Size>

@if (Helper?.Id != null)
{
    <label class="@ClassBuilder" for="@Helper.Id" @attributes="Attributes">
        @ChildContent
    </label>
}
else
{
    <label class="@ClassBuilder" @attributes="Attributes">
        @ChildContent
    </label>
}